#ifndef ALBUMDIALOG_H
#define ALBUMDIALOG_H

#include <QtSql>
#include <QDialog>
#include <QMap>
#include <QMessageBox>
#include <QCloseEvent>
#include "ui_albumdialog.h"

class AlbumDialog: public QDialog, private Ui::AlbumDialog
{
Q_OBJECT

public:

AlbumDialog();
~AlbumDialog();
QMap<QString, QString> return_selected();

public slots:
void select_album(QModelIndex index);
void delete_model();

signals:

void selected_album( QMap<QString, QString> );

private:
QMap<QString, QString> m;

protected:

void closeEvent(QCloseEvent * e);

};

#endif // ALBUMDIALOG_H
